---
title: "SQL-001: Benefit jurisdiction code lookup"
summary: Retrieve all benefit jurisdiction codes and descriptions
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-08-21
library: SAIF.Business.Policy
reference_type: package
---

# SQL-001 Benefit jurisdiction code lookup

Unfiltered lookup of all rows in `BENEFIT_JURISDICTION_CODE`, used to build the cached `clsBenefitJurisdictionCodeMap`; only codes `S` and `F` are mapped to enum values ([BR-POL-012](../business-rules.md#br-pol-012-benefit-jurisdiction-code-recognition)).

## Classification

| Field | Value |
| --- | --- |
| **SQL ID** | SQL-001 |
| **Operation type** | Read |
| **Execution method** | Inline SQL (`clsCodeTableBase.Fill`) |
| **Database** | Oracle |
| **Schema** | `[unqualified]**` |
| **Command type** | Text |
| **Business object** | N/A (Application layer) |
| **Criteria property** | N/A |
| **Lifecycle method** | N/A |
| **Application class** | `clsBenefitJurisdictionCodeMap` (constructor) |

## Tables

| Table | Access | Columns used |
| --- | --- | --- |
| [BENEFIT_JURISDICTION_CODE](../database-tables.md#benefit_jurisdiction_code) | SELECT | `CODE`, `CODE_DESCR` |

## Sample SQL

```sql
-- Unfiltered code-table lookup
SELECT
  code,
  code_descr
FROM BENEFIT_JURISDICTION_CODE
```

## Operations and processes
- OP-12 Load and cache the benefit jurisdiction code map (see [Operations and processes](../operations-processes.md))

## Business rules
- [BR-POL-012: Benefit jurisdiction code recognition](../business-rules.md#br-pol-012-benefit-jurisdiction-code-recognition)
- [BR-POL-016: Code map caching](../business-rules.md#br-pol-016-code-map-caching)

## Sources
- SAIF.Business.Policy/CodeMaps/clsBenefitJurisdictionCodeMap.vb
